package com.sy.mapper;

import com.sy.entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    User getUserByUserName(String userName);

    User getUserByPhone(String phone);

    int addUser(User user);

    boolean updateUserInfoByConditions(@Param("username") String userName, @Param("phone") String phone, @Param("userid") Integer userId);
}
